<template>
	<view>
		<view class="daohang">
			<view class="daohangicon" @tap="backBtn">❮</view>
			<view>账户明细</view>
			<view class="daohangicon"><span></span><span></span><span></span></view>
		</view>
		<view class="cardNum">
			<view>6254***1854</view>
			<view>人民币 活期储蓄</view>
		</view>
		<view class="timeNav">
			<view>当天</view>
			<view>七天</view>
			<view class="status">一个月</view>
			<view>更多筛选</view>
		</view>
		<view class="numTit">
			<view>2021/03/19-2021/04/19</view>
			<view>
				<view>
					<view>总收入</view>
					<view class="myred">11.00</view>
				</view>
				<view>
					<view>总支出</view>
					<view class="mygreen">2.00</view>
				</view>
			</view>
		</view>
		<view class="main">
			<view class="mainTime">
				<view>周一</view>
				<view>2021/04/19</view>
			</view>
			<view class="icon"></view>
			<view class="list list1">
				<view>支出</view>
				<view>余额</view>
				<view>摘要</view>
				<view>交易地点/附言</view>
			</view>
			<view class="list list2">
				<view class="mygreen">1.00</view>
				<view>9.00</view>
				<view>跨行转出</view>
				<view>跨行转出</view>
			</view>
			<image src="../../static/bank-icon2.png" mode="widthFix"></image>
		</view>
	</view>
</template>

<script>
	const http = require('../../utils/http.js');
	export default {
		data() {
			return {
				
			}
		},
		onLoad(options) {
			
		},
		onShow() {
			
		},
		methods: {
			backBtn:function(){
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style>
	page{
		color: #333333;
	}
	.myred{
		color: #d02d5c;
	}
	.mygreen{
		color: #50c14d;
	}
	.status{
		color: #1ea9ca;
		border-bottom: 4px solid #1ea9ca;
	}
	.daohang{
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #FFFFFF;
		background: #0ab7f3;
		padding: 2.8vw 3vw;
	}
	.daohang .daohangicon{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		font-size: 5vw;
		width: 8%;
		text-align: center;
	}
	.daohang .daohangicon>span{
		display: inline-block;
		width: 1.2vw;
		height: 1.2vw;
		border-radius: 20vw;
		background: #FFFFFF;
		margin-right: 1vw;
	}
	.daohang view:nth-child(2){
		text-align: center;
		font-weight: bold;
		font-family: sans-serif;
	}
	.cardNum{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 3.6vw 6vw;
		border-bottom: 3px solid #F2F2F2;
		font-size: 3.6vw;
		background: #f6f7fc;
	}
	.timeNav{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0 6vw;
		border-bottom: 2px solid #F2F2F2;
		font-size: 3.6vw;
	}
	.timeNav view{
		padding: 3.6vw 0;
	}
	.numTit{
		border-bottom: 1px solid #F2F2F2;
		padding: 3.8vw 0 3.4vw 0;
	}
	.numTit>view:nth-child(1){
		padding: 0 6vw;
		font-size: 3.4vw;
		color: #000000;
	}
	.numTit>view:nth-child(2){
		display: flex;
		flex-direction: row;
		margin-top: 1.6vw;
	}
	.numTit>view:nth-child(2)>view{
		flex: 1;
		padding: 3vw 6vw 1vw 6vw;
	}
	.numTit>view:nth-child(2)>view>view:nth-child(1){
		font-size: 3.6vw;
		margin-bottom: 2.6vw;
	}
	.numTit>view:nth-child(2)>view>view:nth-child(2){
		font-size: 8vw;
	}
	.numTit>view:nth-child(2)>view:nth-child(1){
		border-right: 1px solid #F2F2F2;
	}
	.main{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		padding: 4vw 6vw;
		color: #666666;
		border-bottom: 1px solid #F2F2F2;
	}
	.main .icon{
		width: 2.8vw;
		height: 2.8vw;
		border-radius: 200vw;
		background: #d02d5c;
		margin: 0.8vw 2.5vw 0 2.5vw;
	}
	.main .mainTime>view:nth-child(1){
		font-size: 3.7vw;
		margin-bottom: 2.6vw;
		margin-top: 4.4vw;
	}
	.main .mainTime>view:nth-child(2){
		font-size: 3vw;
	}
	.main image{
		width: 6vw;
		height: 6vw;
	}
	.main .list1{
		font-size: 3.3vw;
	}
	.main .list2{
		font-size: 3vw;
	}
	.main .list2{
		flex: 1;
		margin-left: 4.8vw;
	}
	.main .list>view{
		margin-bottom: 4vw;
	}
	.main .list2>view{
		margin-bottom: 4.5vw;
	}
	.main .list>view:last-child{
		margin-bottom: 0vw;
	}
</style>
